home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10515 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  739 b 

  1. Path: news.uni-c.dk!news
  2. From: Jesper Nielsen <dklecjen@ibmmail.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: VC++ 4.0: How can I export functions in a DLL
  5. Date: 8 Mar 1996 09:23:25 GMT
  6. Organization: lec
  7. Message-ID: <4houad$r77@news.uni-c.dk>
  8. NNTP-Posting-Host: info.lec.dk
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
  13.  
  14.  
  15. Hi experts.
  16.  
  17. I choose dynamic-link library as project type and use the macros 
  18. __declspec( dllexport ) in front of the functions - like this:
  19. __declspec( dllexport ) void func();
  20. what am I doing wrong ? 
  21. The function dosn't apear in a quick view of the DLL ( win95 ).
  22.  
  23. Please answer ( also ) by email: dklecjen@ibmmail.com
  24.  
  25. Thanks.
  26.  
  27.